package com.ly.datacenter.database.pojo;

import java.util.List;

/**
 * function:describe the structure of table in database
 * 
 * @author watson email: watson.wu@hotmail.com
 * @date 2009-9-1
 */
public class TableMetadata extends BaseTableMetadata {

	private List<FieldMetadata> fields;
	
	public TableMetadata() {
		super();
	}

	public TableMetadata(String tableName, String tableCatalog,
			String tableSchema, List<FieldMetadata> fields) {
		super(tableName, tableCatalog, tableSchema);
		this.fields = fields;
	}

	public List<FieldMetadata> getFields() {
		return fields;
	}

	public void setFields(List<FieldMetadata> fields) {
		this.fields = fields;
	}
}
